package org.gao.test.transaction.web.sample;

import java.sql.Connection;

public class ConnectionHolder {

	private static ThreadLocal<Connection> conn = new ThreadLocal<Connection>();
	
	public static void setConn(Connection conne) {
		conn.set(conne);
	}
	
	public static Connection getConn() {
		return conn.get();
	}

	public static void removeConn() {
		conn.remove();
	}
	
}
